package com.salelogistics.basic.domain;

import java.math.BigDecimal;
import java.math.BigInteger;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.salelogistics.common.core.annotation.Excel;
import com.salelogistics.common.core.web.domain.BaseEntity;

/**
 * 标段对象 bas_lot
 *
 * @author ruoyi
 * @date 2023-07-09
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BasLot extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;


    /**
     * 编码
     */
    private String code;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 英里(1英里约1609米)
     */
    @Excel(name = "英里(1英里约1609米)")
    private BigDecimal miles;

    /**
     * 项目编号
     */
    @Excel(name = "项目编号")
    private Long projectId;

    /**
     * 构建者
     */
    @Excel(name = "构建者")
    private String builder;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String addr;

    /**
     * 检查人(负责人)
     */
    @Excel(name = "检查人(负责人)")
    private String checkMan;

    /**
     * 负责人号码
     */
    @Excel(name = "负责人号码")
    private String checkTel;

    /**
     * 最近一次修改人
     */
    private String editedBy;

    /**
     * 最近一次修改时间
     */
    private String editedTime;

    /**
     * 启用状态
     */
    private Long status;

    /**
     * 删除状态
     */
    private Long isDeleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setMiles(BigDecimal miles) {
        this.miles = miles;
    }

    public BigDecimal getMiles() {
        return miles;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setBuilder(String builder) {
        this.builder = builder;
    }

    public String getBuilder() {
        return builder;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getAddr() {
        return addr;
    }

    public void setCheckMan(String checkMan) {
        this.checkMan = checkMan;
    }

    public String getCheckMan() {
        return checkMan;
    }

    public void setCheckTel(String checkTel) {
        this.checkTel = checkTel;
    }

    public String getCheckTel() {
        return checkTel;
    }

    public void setEditedBy(String editedBy) {
        this.editedBy = editedBy;
    }

    public String getEditedBy() {
        return editedBy;
    }

    public void setEditedTime(String editedTime) {
        this.editedTime = editedTime;
    }

    public String getEditedTime() {
        return editedTime;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setIsDeleted(Long isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() {
        return isDeleted;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("name", getName())
                .append("miles", getMiles())
                .append("projectId", getProjectId())
                .append("builder", getBuilder())
                .append("addr", getAddr())
                .append("checkMan", getCheckMan())
                .append("checkTel", getCheckTel())
                .append("createTime", getCreateTime())
                .append("editedBy", getEditedBy())
                .append("editedTime", getEditedTime())
                .append("status", getStatus())
                .append("isDeleted", getIsDeleted())
                .toString();
    }
}
